﻿@{
    Bundle("base");
}

<!DOCTYPE html>
<html class="@JDM.String(Svc.Localization.Code)">
    <head>
        <!-- Powered by Xenta Framework. Know more at http://xenta.net. -->
        <title>@T(Res.Name("Title"), ViewBag.PageTitle, Svc.Context.Infrastructure)</title>
        <link rel="shortcut icon" href="@Url.Content("/Content/Styles/Images/logo.ico")" />
        @{
            Html.RenderPartial("~/Views/Shared/_Bundles.cshtml");
        }
    </head>
    <body>
        <section class="page">
            @RenderBody()
            @{
                Html.RenderPartial("_Status", ViewData.ModelState);
            }
        </section>
    </body>
</html>
@if(Svc.Config(Par.In("WebAdmin").Name("DebugMode"), Context.IsDebuggingEnabled))
{
    @:<!-- MODEL DUMP
    @Html.Raw(Model)
    @:-->
}